<?php
include(dirname(__FILE__) . '/functions.php');
if (!isset($_POST['action'])) {
  $user_function = 'tf_get_used_colors';
}
else {
  $user_function = $_POST['action'];
}
call_user_func_array($user_function, $_POST);
?>